/**
 * 
 */
package org.hotpotmaterial.codegenn2.dto;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author Wenxing
 *
 */
@Data
@EqualsAndHashCode(callSuper=true)
@NoArgsConstructor
public class ResultDataDTO<T> extends ResultBaseDTO {

	// 数据
	private T data;
	
	@Builder
	public ResultDataDTO(String code, String msg, T data) {
		super(code, msg);
		this.data = data;
	}
	
}
